package com.carpedil.movie.mapper;

import com.carpedil.movie.entity.Movie;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/** @author Administrator */
@Repository
public interface MovieMapper {
  Movie findByMovieName(@Param("movieName") String movieName);

  int updateStorageByName(@Param("movieName") String movieName);

  List<Movie> list();

  Movie findByMovieId(@Param("movieId") Integer movieId);
}
